import axios from 'axios'

function httpGet(url) {
    axios.get(url).then(data => {
      console.log(data)
    })
    .catch(err => {
      console.log(err)
    });
}

export default httpGet